﻿<workflow id="6">
  <start>600</start>
  <step id="600" type="1">
    <name>抄送</name>
    <task>103</task>
    <next>601</next>
  </step>
  <step id="601" type="2">
    <next>
      <condition><![CDATA[select check_userrole(@createUserId,4);]]></condition>
      <true>602</true>
      <false>603</false>
    </next>
  </step>
  <step id="602" type="1">
    <name>部门经理审批</name>
    <task>1</task>
    <next>603</next>
  </step>
  <step id="603" type="1">
    <name>主管副总审批</name>
    <task>2</task>
    <next>604</next>
  </step>
  <step id="604" type="1">
    <name>财务审批</name>
    <task>5</task>
    <next>605</next>
  </step>
  <step id="605" type="1">
    <name>总经理审批</name>
    <task>4</task>
    <next>606</next>
  </step>
  <step id="606" type="2">
    <next>
      <condition>
        <![CDATA[
      select check_form_data_where(@flowObjectId, @dataId, 5004, ' >= 100000');
      ]]>
      </condition>
      <true>607</true>
    </next>
  </step>
  <step id="607" type="1">
    <name>副董事长审批</name>
    <task>7</task>
    <next>608</next>
  </step>
  <step id="608" type="1">
    <name>董事长审批</name>
    <task>8</task>
  </step>
</workflow>